package com.icloud.system.boot.dto;

import com.icloud.common.core.constant.ValidateConstant;
import com.icloud.common.web.vo.BaseVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Getter
@Setter
public class HomeBrowsedPageDto extends BaseVO {
    @ApiModelProperty("客户Id,查询指定人的访问记录,可以为当前登录人,也可以为其他人")
    @NotNull(message = ValidateConstant.NOT_NULL)
    private Long customerId;
    @ApiModelProperty("访问方向,访问customerId的-ACCESSED,customerId访问其他人的-VISITED")
    @NotEmpty(message = ValidateConstant.NOT_EMPTY)
    private String accessMode;
}
